﻿using System;
using Mono.Cecil.PE;

namespace Mono.Cecil.Metadata
{
	// Token: 0x020000FB RID: 251
	internal abstract class HeapBuffer : ByteBuffer
	{
		// Token: 0x170002BB RID: 699
		// (get) Token: 0x06000A2E RID: 2606 RVA: 0x0002E2BC File Offset: 0x0002C4BC
		public bool IsLarge
		{
			get
			{
				return this.length > 65535;
			}
		}

		// Token: 0x170002BC RID: 700
		// (get) Token: 0x06000A2F RID: 2607
		public abstract bool IsEmpty { get; }

		// Token: 0x06000A30 RID: 2608 RVA: 0x00005A3D File Offset: 0x00003C3D
		protected HeapBuffer(int length) : base(length)
		{
		}
	}
}
